import layout from '@/layout'

export default {
  path: '/vm',
  name: 'vm',
  redirect: '/vm/index',
  component: layout,
  meta: {
    title: '设备管理',
    icon: 'tree-table'
  },
  children: [
    {
      path: '/vm/index',
      name: 'index',
      component: () => import('../../views/equipment/EquipmentManagement.vue'),
      meta: {
        title: '设备管理'
      }
    }, {
      path: '/vm/status',
      name: 'status',
      component: () => import('../../views/equipment/Condition.vue'),
      meta: {
        title: '设备状态'
      }
    }, {
      path: '/vm/type',
      name: 'type',
      component: () => import('../../views/equipment/EquipmentTypes.vue'),
      meta: {
        title: '设备类型管理'
      }
    }
  ]
}
